package com.tubi.testIO;

import java.io.FileOutputStream;
import java.io.IOException;

public class ioDemo4 {
    public static void main(String[] args) {
        FileOutputStream f = null;
        try {
            f = new FileOutputStream("test-IO/a.txt",true);
            f.write(44);
        }catch (IOException e){
            e.printStackTrace();
        }finally {
            if(f !=null){
                try {
                    f.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }

    }
}
